
using IQIGame.Onigao.Framework;

namespace IQIGame.Onigao.Logic
{
    public class BattleStartState : BattleBaseState
    {
        public BattleStartState(BattlePlayController playController) : base(playController)
        {
        }
        public override EBattleState stateId => EBattleState.Start;
        public override void OnInit()
        {

        }

        public override void OnEnter(EBattleState prevStateId)
        {
            this.mPlayCtrl.triggerCtrl.Broadcast(EBattleTriggerType.Battle_BattleStart);
            this.ChangeState(EBattleState.RoundStart);
        }

        public override void OnExit()
        {
        }

        public override void Dispose()
        {
        }
    }
}